<div class="main-content">
	<div class="breadcrumbs" id="breadcrumbs">
		<ul class="breadcrumb">
			<li>
				<i class="icon-home home-icon"></i>
				<a href="#">系统首页</a>
			</li>
			<li class="active">
				用户
			</li>
            <li>
				<a href="#">等级列表</a>
			</li>
            <li class="active">
				新增
			</li>
		</ul><!-- .breadcrumb -->
	</div>
	<div class="page-content">
        
        <div class="page-header">
			<h1>新增用户等级</h1>
		</div>
		<div class="row">
			 <div class="col-xs-12">
				<!-- PAGE CONTENT BEGINS -->

	        
					<form id="usrform" action="<?php echo base_url()."admin/user/add_level"?>" method="post">
				    	<div class="box-body" style="display: inline-block;width: 100%">
					        <div class="form-group col-xs-6">
					            <label>名称</label><span style="color: #a94442;"><?php echo form_error("coupon_name")?></span>
					            <input name="level_name" type="text" class="form-control" placeholder="输入 ..." value="<?php if(isset($info['level_name'])){echo $info['level_name'];}?>" check-type="required">
				            </div>
				            <div class="form-group col-xs-5">
					            <label>积分范围</label>
								<div>
								<input name="credit_start" type="text" class="form-control" style="width:110px; display:  inline;" placeholder="积分最低值" value="<?php if(isset($info['credit_start'])){echo $info['credit_start'];}?>" >
								 到
								<input name="credit_end" type="text"  class="form-control"  style="width:110px; display:  inline;" placeholder="积分最高值" value="<?php if(isset($info['credit_end'])){echo $info['credit_end'];}?>">
								</div>
					            
				            </div>
							
							
							
			            </div>
			            <div class="clearfix form-actions">
							<div class="col-md-offset-3 col-md-9">
								<button id="btnSubmit" class="btn btn-info" type="submit">
									<i class="icon-ok bigger-110"></i>
									保存
								</button>
	
								&nbsp; &nbsp; &nbsp;
								<a class="btn" href="<?php echo base_url()."admin/user/level_list"?>">
									<i class="icon-undo bigger-110"></i>
									返回
								</a>
							</div>
						</div>
						<input type="hidden" name="id" value="<?php if(isset($info['id'])){echo $info['id'];}?>" />
					</form>
			</div>
		</div><!-- /.row -->
	</div><!-- /.page-content -->
</div><!-- /.main-content -->
